The German Animal Welfare Act explicitly allows the use of animals in basic research.
The German Animal Welfare Act (pdf) is some of the strictest legislation in the world and affords animals far-reaching protection. According to the law they are fellow creatures. At the same time, animal research is explicitly allowed, but it must always be shown that the goal of the experiments cannot be reached using other methods or techniques.