You can remember the meaning of 法庭 with this easy mnemonic:
If you disobey the law (法), you will be taken to court (庭). The court of law will find justice.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.