An Amtsgericht in Germany is an official court. These courts form the lowest level of the so-called 'ordinary jurisdiction' of the German judiciary, which is responsible for most criminal and civil judicial matters. From Wikipedia
Prosecutors have provisionally dropped the defamation probe into the satirical Habeck post with the case set to move to Landgericht Bamberg.